<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">

<head th:replace="top::html">
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
</head>

<body class="fixed hold-transition skin-blue">
	<div class="wrapper">
		<div th:replace="tophtml::html"></div>
		<div th:replace="left::html"></div>
		<div class="content-wrapper">
			<section class="content-header">
				<h1>
					对接统计 <small>统计对接详情</small>
				</h1>
				<ol class="breadcrumb">
					<li><a href="/index"><i class="fa fa-dashboard"></i>用户中心</a></li>
					<li><a href="">统计</a></li>
				</ol>
			</section>
			<section class="content container-fluid">
				<form class="form-inline" th:action="@{/details/buttStatistics}" method="get" id="from1">
					<input type="hidden" name="pageNo" id="pageNo" />
					<div class="form-group">
						<label style="margin-left: 30px;">时间</label>
						<div class="input-group date">
							<div class="input-group-addon">
								<i class="fa fa-calendar"></i>
							</div>
							<input type="text" class="form-control pull-right" style="width: 164px;" id="datepicker" name="beginDate" th:value="${beginDate}">
						</div>
					</div>
					<span style="margin-left: 15px;">—</span>
					<div class="form-group">
						<div class="input-group date" style="margin-left: 15px;">
							<div class="input-group-addon">
								<i class="fa fa-calendar"></i>
							</div>
							<input type="text" class="form-control pull-right" style="width: 164px;" id="datepicker3" name="endDate" th:value="${endDate}">
						</div>
					</div>
					<button type="submit" class="btn btn-primary" style="margin-left: 40px;">搜索</button>
				</form>
				<br>
				<div class="box">
					<div class="box-body">
						<table class="table table-bordered">
							<tbody>
								<tr>
									<th>项目</th>
									<th>需求</th>
									<th>客户</th>
									<th>专家</th>
								</tr>
								<tr th:each="e : ${buttMap}">
									<td th:each="content : ${e.value}">
										<a th:href="@{/details/showStaHistory(buttdetails=${e.key})}" th:text="${content} and ${#strings.length(content)} > 8 ? ${#strings.substring(content, 0, 8)}+'...' : ${content}" th:title="${content}"></a>
									</td>
								</tr>
							</tbody>
						</table>
						<div th:replace="page::html"></div>
					</div>
				</div>
			</section>
		</div>
		<div th:replace="footer::html"></div>
		<div class="control-sidebar-bg"></div>
	</div>
	<div th:replace="bottom::html"></div>
</body>

</html>